package com.ganbo.pattern.proxy.staticproxy;

public class StaticProxyTestDemo {

    public static void main(String[] args) {
        UserServiceImpl target = new UserServiceImpl(); //目标对象
        UserServiceProxy proxy = new UserServiceProxy(target);
        proxy.work("小王");
    }
}
